// 定义一个KEY将key的值作为存储在本地内存的token的名字
const KEY = 'my-token-vant-h5-85'
// 将接收的token的值存储到本地
export const setToken = token => localStorage.setItem(KEY, token)
// 获取到存储到本地的token值
export const getToken = () => localStorage.getItem(KEY)
// 清除本地所有的token
export const delToken = () => localStorage.removeItem(KEY)
